/*
 * constantes.h
 *
 *  Created on: 03/10/2010
 *      Author: teledhil
 */

#ifndef CONSTANTES_H_
#define CONSTANTES_H_


#define MAX_LONG_LINEA_CONSOLA 100


/*COMANDOS IRC*/
#define COMANDO_HELP "/help"	/*Shows help*/

#define COMANDO_CONNECT "/connect"	/*<host:port>
	Connects to the IRC server on <host:port>.*/

#define COMANDO_AUTH "/auth"	/*<nick>
	Authenticates with the server, sets nickname, username and  real
	name to <nick>.*/

#define COMANDO_LIST "/list"	/*Lists all current IRC channels, number of users, and topic.*/

#define COMANDO_JOIN "/join"	/*[<channel>]
	Joins  channel  <channel>.  In case no <channel> is provided, it
	simply tells which is the current  channel. If the user was
	already  in a channel, this command make the user leave the cur-
	rent channel and join the new one.*/

#define COMANDO_LEAVE "/leave"	/*Leaves your current channel.*/

#define COMANDO_WHO "/who"	/*Lists users in current channel.*/

#define COMANDO_MSG "/msg"	/*<text>
	Sends <txt> to the current channel.*/

#define COMANDO_DISCONNECT "/disconnect"	/*Disconnects from server.*/

#define COMANDO_QUIT "/quit"	/*Closes program.*/

#define COMANDO_NOP "/nop"	/*[<text>]
	(Debugging) no operation, just echoes <text> back.*/


#define COMANDO_SLEEP "/sleep"	/*[<secs>]
	(Debugging) pauses for <secs> seconds.*/


#define COMANDO_OFFER "/offer"	/*<filename> <nick>
	Launch a DCC server for a file  transfer.   The  recipient  must
	accept your offer with a /download command.*/


#define COMANDO_DOWNLOAD "/download"	/*<filename> <host:port>
	Starts  a file transfer by direct client connection.  The sender
	must first have offered the file with an /offer command.*/


#endif /* CONSTANTES_H_ */
